# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=tuir
pkgver=1.29.0
pkgrel=5
pkgdesc="Terminal UI for Reddit"
url="https://gitlab.com/ajak/tuir"
arch="noarch"
license="MIT"
depends="python3 py3-decorator py3-beautifulsoup4 py3-kitchen py3-six py3-requests"
options="!check" # tests fail
makedepends="py3-setuptools"
subpackages="$pkgname-doc $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/t/tuir/tuir-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="ea7a531c8116d4a1fc6f209a80833289c366ed34811e7d74c977d10a658761e7ef6b6a890f46cfe0089e9176cfb63a25856128937be34bd05d529c8168dd26b4  tuir-1.29.0.tar.gz"
